* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #fff9f9 0%, #f0f9ff 100%);
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23fdf2ff" opacity="0.2"/><circle cx="25" cy="25" r="8" fill="%23ffd1f8" opacity="0.3"/><circle cx="75" cy="75" r="12" fill="%23d1e8ff" opacity="0.3"/></svg>');
    background-size: 200px;
    position: relative;
    overflow: hidden;
}

/* 装饰元素 */
.decoration {
    position: absolute;
    z-index: 0;
}

.decoration-1 {
    top: 10%;
    left: 5%;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ffd1f8 0%, #d1e8ff 100%);
    border-radius: 50%;
    opacity: 0.3;
}

.decoration-2 {
    bottom: 15%;
    right: 7%;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #ffebf7 0%, #c1e4ff 100%);
    border-radius: 50%;
    opacity: 0.2;
}

.decoration-3 {
    top: 30%;
    right: 10%;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #d1e8ff 0%, #ffd1f8 100%);
    border-radius: 50%;
    opacity: 0.4;
}

/* 主登录容器 */
.login-container {
    position: relative;
    z-index: 10;
    width: 420px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(206, 169, 219, 0.2);
    padding: 30px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 221, 245, 0.5);
}

.login-container:hover {
    box-shadow: 0 20px 40px rgba(206, 169, 219, 0.3);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h1 {
    font-size: 32px;
    color: #e86bae;
    margin-bottom: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.login-header p {
    color: #7a7a9d;
    font-size: 16px;
    margin-top: 5px;
}

/* 表单样式 */
.login-form {
    display: flex;
    flex-direction: column;
}

.input-group {
    position: relative;
    margin-bottom: 25px;
}

.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #e86bae;
    font-size: 18px;
}

.input-group input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid #f0d5e9;
    border-radius: 12px;
    font-size: 16px;
    color: #5a5a7a;
    background: rgba(255, 241, 249, 0.3);
    transition: all 0.3s ease;
    outline: none;
}

.input-group input:focus {
    border-color: #e86bae;
    box-shadow: 0 0 0 3px rgba(232, 107, 174, 0.2);
}

.input-group input::placeholder {
    color: #b9b9cf;
}

/* 按钮样式 */
.login-btn {
    background: linear-gradient(135deg, #e86bae 0%, #8b9fff 100%);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(232, 107, 174, 0.3);
    letter-spacing: 1px;
    margin-top: 10px;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(232, 107, 174, 0.4);
}

.login-btn:active {
    transform: translateY(1px);
}

/* 额外选项 */
.login-options {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    font-size: 14px;
}

.remember-me {
    display: flex;
    align-items: center;
    color: #7a7a9d;
}

.remember-me input {
    margin-right: 5px;
    accent-color: #e86bae;
}

.forgot-password {
    color: #8b9fff;
    text-decoration: none;
    transition: color 0.3s;
}

.forgot-password:hover {
    color: #e86bae;
    text-decoration: underline;
}

/* 页脚 */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    text-align: center;
    font-size: 14px;
    color: #7a7a9d;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    border-top: 1px solid rgba(232, 107, 174, 0.1);
}

.footer a {
    color: #8b9fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: #e86bae;
    text-decoration: underline;
}

/* 图标装饰 */
.baby-icons {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    gap: 15px;
}

.baby-icons i {
    font-size: 24px;
    color: #e86bae;
    opacity: 0.7;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .login-container {
        width: 90%;
        padding: 20px;
    }

    .login-header h1 {
        font-size: 28px;
    }
}